import instance from "@/api/axios";

// https://course.myhope365.com/api/weChat/applet/course/banner/list
// 登录

export function login(data){
    return instance.post('/api/pcUser/login',data)
}
// 查看用户信息
export function loginUser(){
    return instance.get('/api/pcUser/login-user/info')
}
// 退出登录
export function logout() {
    return instance.get('/api/pcUser/logout')
}
// 修改头像
export function userAvatar(data) {
    return instance.post('/api/pcUser/updata/userAvatar', data, {header: "multipart/form-data"})
}